import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
//import request from './utils/request'
import { get,post}  from './utils/reqLongin'

// 全局方法挂载 vue2
// Vue.prototype.$echarts = echarts
//Vue.prototype.$post = post
//Vue.prototype.$get = get



const app = createApp(App);

// 全局方法挂载 vue3
app.config.globalProperties.$post = post;
app.config.globalProperties.$get = get;
app.config.globalProperties.$systemName = '用户管理系统';


app.use(store)
.use(router)

.mount('#app');




